/**
 * Copyright (c) Huawei Technologies Co., Ltd. 2025. All rights reserved.
 * This file is a part of the CANN Open Software.
 * Licensed under CANN Open Software License Agreement Version 1.0 (the "License").
 * Please refer to the License for details. You may not use this file except in compliance with the License.
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED,
 * INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
 * See LICENSE in the root of the software repository for the full text of the License.
 */

/**
 * @file layer_norm_tiling.h
 */
#ifndef LAYER_NORM_TILING_H
#define LAYER_NORM_TILING_H
#include "register/tilingdata_base.h"

namespace optiling {
    BEGIN_TILING_DATA_DEF(LayerNormTilingData)
    TILING_DATA_FIELD_DEF(uint32_t, rowNum);
    TILING_DATA_FIELD_DEF(uint32_t, rowNumSp);
    TILING_DATA_FIELD_DEF(uint32_t, rowLength);
    TILING_DATA_FIELD_DEF(uint32_t, blockPivot);
    TILING_DATA_FIELD_DEF(uint32_t, tileLoop);
    TILING_DATA_FIELD_DEF(uint32_t, tileLength);
    TILING_DATA_FIELD_DEF(uint32_t, loopCount);
    TILING_DATA_FIELD_DEF(float, factor);
    TILING_DATA_FIELD_DEF(float, mfactor);
    TILING_DATA_FIELD_DEF(float, eps);
    END_TILING_DATA_DEF;
    
    REGISTER_TILING_DATA_CLASS(LayerNorm, LayerNormTilingData)
    } // namespace optiling
#endif // ADD_CUSTOM_TILING_H
